<%--
 - Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 - 
 - This software is the confidential and proprietary information of ETCORE Labs. 
 - You shall not disclose such confidential information and shall use it only
 - in accordance with the terms of the license agreement you entered into
 - with ETCORE Labs.
 -
 - Support can be obtained from support forums at:
 - http://www.etcore.com/
 -
 - @author: ETCORE GroupTalk developers
 -
 --%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c"%>
<%@ taglib uri="http://www.etcore.com/grouptalk" prefix="grouptalk"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><c:out value='${context.my_account }' />-<c:out
	value='${context.title }' /></title>
<link rel="stylesheet" href="/group/css/styles.css" type="text/css">
<script>
function switchConnection(src)
{
	 var childFrame=document.getElementById("childFrame");

	 childFrame.src='/group/'+src 
	 
}
 
 function loadChildFrame(){
	 var iframeid=document.getElementById("childFrame"); //iframe id
	  if (document.getElementById){
	   if (iframeid && !window.opera){
	    if (iframeid.contentDocument && iframeid.contentDocument.body.offsetHeight){
	     iframeid.height = iframeid.contentDocument.body.offsetHeight+10;
	    }else if(iframeid.Document && iframeid.Document.body.scrollHeight){
	     iframeid.height = iframeid.Document.body.scrollHeight+10;
	    }
	   }
	  }
 }
 


</script>
 
</head>





<body bottomMargin=0 leftMargin=10 topMargin=0 rightMargin=10
	marginheight=0>
<c:import url="/group/ui-component/divdialog/divdialog.html" />

<table width="100%" border="0" cellpadding="0" cellspacing="0"
	align=center>
	<%-- //////////////////////banner --%>
	<tr>
		<td><c:import url="/banner.jsp?currentPlatform=0" /></td>
	</tr>
	<%--////////////////////// mid --%>

	<tr>
		<td width=100%>

		<TABLE cellSpacing=0 cellPadding=0 width=100% border=0 style="margin-top:10px;" align=center>
			<TBODY>

				<tr>
					<c:if test="${not empty session_user }">
						<td width=220 valign=top style="border:1px solid #9CBAE0"><c:import url="/group/myMenu.jsp" /></td>
					</c:if>
					<td valign=top>
					<table width=100% style="margin-left:10px;margin-top:-3px;" cellSpacing=0 cellPadding=0 >
						


						<tr>
							<td valign=top >
							<table width=100% style="overflow:auto"  >
<c:if test="${ not empty param.init && param.init eq 'myFollowing' }">
								<tr>
									<td valign=top width=100% ><iframe onload="loadChildFrame()" src="/group/myFollowing.action" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe></td>
								</tr>
</c:if>
<c:if test="${not empty param.init && param.init eq 'myGroups' }">
								<tr>
									<td valign=top width=100% ><iframe onload="loadChildFrame()" src="/group/myGroups.action" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe></td>
								</tr>
</c:if>
<c:if test="${not empty param.init && param.init eq 'myFavourite' }">

								<tr>
									<td valign=top width=100% >
									<c:if test='${empty param.open }'>
									<iframe onload="loadChildFrame()" src="/group/myFavourite.action" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe>
									</c:if>
									<c:if test='${not empty param.open }'>
									<iframe onload="loadChildFrame()" src="/group/myFavourite.action?open=${param.open}" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe>
									</c:if>
									</td>
								</tr>
</c:if>
<c:if test="${  empty param.init || param.init eq 'myMessages' }">
								<tr>
									<td valign=top width=100% >
									
									<c:if test='${empty param.open }'>
									<iframe onload="loadChildFrame()" src="/group/myMessages.action" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe>
									</c:if>
									<c:if test='${not empty param.open }'>
									<iframe onload="loadChildFrame()" src="/group/myMessages.action?open=${param.open}" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe>
									</c:if>
									</td>
								</tr>
</c:if>
<c:if test="${not empty param.init && param.init eq 'myComments' }">
								<tr>
									<td valign=top width=100% ><iframe onload="loadChildFrame()" src="/group/myComments.action" width=100% id="childFrame"    height=1 scrolling="no"   frameborder="0"></iframe></td>
								</tr>
</c:if>
							</table>
							</td>
						</tr>


					</table>
					</td>
				</tr>

			</TBODY>
		</TABLE>
		<BR>
		<BR>


		</td>
	</tr>

	<%--/////////////////下部页尾--%>
	<tr>
		<td><BR>
		<BR>
		<c:import url="/footer.jsp" /></td>
	</tr>
</table>
<c:if test="${not empty msg}">
	<script>alert('${msg }')</script>
</c:if>
<c:if test="${session_user.isLock==1}">
	<script>alert('${context.activation_letter_title }')</script>

</c:if>
</body>
</html>
